﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TP01.TP
{
    class Basic
    {
        public static string MyFirstVariable()
        {
            string hello = "Hello world\n";
            return hello;
        }

        public static string Punition(int count)
        {
            if (count == 0)
            {
                return "Jeu sui un vilins elevent";
            }
            else 
            {
                count--;
                return "Jeu sui un vilins elevent\n" + Punition(count);
            }
        }

        public static string Punition2(int count)
        {
            int ligne;

            if (count == 0)
            {
                return "";
            }
            else 
            {
                count--;
                ligne = 100 - count;
                return ligne + " Je suis un vilain eleve\n" + Punition2(count);
            }
        }
    }
}
